    package com.xuecheng.content.service;

    import com.xuecheng.commons.model.dto.TeachplanDto;
    import com.xuecheng.commons.model.vo.ResponseResult;
    import com.xuecheng.commons.model.vo.TeachplanVo;
    import com.xuecheng.content.domain.Teachplan;
    import com.baomidou.mybatisplus.extension.service.IService;

    /**
     * <p>
     * 课程计划 服务类
     * </p>
     *
     * @author itheima
     * @since 2022-12-03
     */
    public interface TeachplanService extends IService<Teachplan> {

        //查询课程计划
        ResponseResult<TeachplanVo> treeNodes(Long courseId);
        ResponseResult<TeachplanVo> treeNodes2(Long courseId);

        // 新增或修改课程计划
        ResponseResult saveOrUpdateTeachplan(TeachplanDto dto);

        // 删除课程计划
        ResponseResult deleteTeachplan(Long teachplanId);
    }
